<template>
	<BaseContainer>
		<aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig"> </aplid-base-crud>
	</BaseContainer>
</template>

<script setup lang="ts">
import { tableSpotConfig } from '../config'

const props = defineProps<{
	nowRowData?: any
}>()


const api = {
	index: 'view_omSpotOrder_page',
}
const auth = {
	...api,
}
const baseConfig = {
	pageName: '抽查工单列表',
	dictcodes: [],
	rowKey: 'id',
	addLabel: '新增',
	tipLabel: 'name',
	exportMqTopic: '/ning/export/',
	api,
	auth,
  paramsObj: {
    spotBatchId:props.nowRowData.id,
  },
	tableConfig: tableSpotConfig,
}
</script>

<style lang="scss" scoped></style>
